package com.lq.JDBC.Dao;

import com.lq.JDBC.entity.Teacher;

import java.util.ArrayList;

public interface TeacherDao extends BaseDao<Teacher>{
    @Override
    int insert(Teacher teacher);

    @Override
    int update(Teacher teacher);

    @Override
    ArrayList<Teacher> queryAll(Class target);

    @Override
    Teacher queryByName(String name, Class target);

    @Override
    int delete(String fieldName, String value, Class target);
}
